<template>
  <div class="userslist">
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>用户列表</span>
        <el-button style="float: right; margin-top: -10px" type="primary" round
          >操作按钮</el-button
        >
      </div>
      <userfilter />
      <qftable :tableData="tableData" :columns="columns" />
      <qfpage />
    </el-card>
  </div>
</template>

<script>
import { qftable, userfilter, qfpage } from "@/layout/components/index.js";
export default {
  components: {
    qftable,
    userfilter,
    qfpage,
  },
  data() {
    return {
      columns: [
        { title: "编号", field: "id" },
        { title: "姓名", field: "name" },
        { title: "日期", field: "date" },
        { title: "地址", field: "address" },
      ],
      tableData: [
        {
          id: 1,
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          id: 2,
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          id: 3,
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          id: 4,
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
    };
  },
};
</script>

<style lang="scss" scoped></style>
